<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="common/comm :: head " ></head>
<body>
<div class="wrapper">
	<header th:replace="common/comm :: header "></header>
	<div class="main-panel">
		<div class="content">
			<div class="container-fluid">
				<h4 class="page-title">
					<font id="WOW_TRANSLATE_43" class="WOW_TRANSLATE_STYLE" th:if="${attr == 'upd' }"
						  data--w-o-w_-i-n-d-e-x="43">招聘管理 > 简历明细</font>
				</h4>
				<div class="row">
					<div class="col-md-12">



						<div class="card">

							<div class="card-body">
								<form class="form-inline" th:action="@{/sys/resume/updSave}"  enctype="multipart/form-data" method="post" >
									<div class="form-group">
										<label for="low">应聘职位名称：&nbsp;&nbsp; </label>
										<input type="hidden"  name="id" th:value="${resume.id}">
										<input  class="form-control" readonly="readonly" th:value="${post.name}"  />
										<small  class="form-text text-muted"></small>
									</div>


									<div class="form-group">
										<label for="low">应聘职位编码：&nbsp;&nbsp; </label>
										<input  class="form-control" readonly="readonly"  th:value="${post.code}"  />
										<small  class="form-text text-muted"></small>
									</div>

									<div class="form-group">
										<label for="low">职位分类：&nbsp;&nbsp; </label>
										<input  class="form-control"  readonly="readonly" th:value="${postType.valueName}"  />
										<small  class="form-text text-muted"></small>
									</div>


									<div class="form-group">
										<label for="code"><font> 姓名:&nbsp;&nbsp; </font></label>
										<input type="text"  class="form-control"   th:value="${resume.name}" readonly="readonly">
										<small  class="form-text text-muted"></small>
									</div>

									<div  class="form-group">
										<label for="testunit"> 性别: &nbsp;&nbsp; </label>
										<select  class="form-control"  disabled="disabled">
											<option th:selected="${'男'==resume.sex}" th:value="男">男</option>
											<option th:selected="${'女'==resume.sex}" th:value="女">女</option>
										</select>

										<small  class="form-text text-muted"></small>
									</div>

									<div  class="form-group">
										<label for="testunit"> 招聘类型: &nbsp;&nbsp; </label>
										<select  class="form-control"  disabled="disabled" >
											<option th:selected="${rtype.valueId==resume.recruitType}" th:each="rtype:${rtypes}" th:value="${rtype.valueId}" th:text="${rtype.valueName}" ></option>
										</select>
										<small  class="form-text text-muted"></small>
									</div>

									<div class="form-group">
										<label for="testrange"> email:&nbsp;&nbsp; </label>
										<input readonly="readonly"  class="form-control" th:value="${resume.email}" />
										<small  class="form-text text-muted"></small>
									</div>

									<div class="form-group">
										<label for="testrange"> 联系电话:&nbsp;&nbsp; </label>
										<input  class="form-control" readonly="readonly" th:value="${resume.phone}" />
										<small  class="form-text text-muted"></small>
									</div>

									<div class="form-group">
										<label for="low">户口所在地：&nbsp;&nbsp; </label>
										<input  readonly="readonly" class="form-control"  th:value="${resume.koseki}"  />
										<small  class="form-text text-muted"></small>
									</div>


									<div class="form-group">
										<label for="low">住址：&nbsp;&nbsp; </label>
										<input  class="form-control"  readonly="readonly"  th:value="${resume.address}"  />
										<small  class="form-text text-muted"></small>
									</div>

									<div class="form-group">
										<label for="low">政治面貌：&nbsp;&nbsp; </label>
										<input  class="form-control" readonly="readonly"  th:value="${resume.politics}"  />
										<small  class="form-text text-muted"></small>
									</div>

									<div class="form-group">
										<label for="up">身份证号: &nbsp;&nbsp; </label>
										<input    class="form-control" readonly="readonly"  th:value="${resume.identityCard}"/>
										<small  class="form-text text-muted"></small>
									</div>


									<div class="form-group">
										<label for="up">毕业院校: &nbsp;&nbsp; </label>
										<input  readonly="readonly"  class="form-control"  th:value="${resume.college}"  />
										<small  class="form-text text-muted"></small>
									</div>

									<div  class="form-group">
										<label for="testunit"> 学历: &nbsp;&nbsp; </label>
										<select disabled="disabled" class="form-control"   >
											<option th:selected="${edtype.valueId==resume.education}" th:each="edtype:${edtypes}" th:value="${edtype.valueId}" th:text="${edtype.valueName}" ></option>
										</select>
										<small  class="form-text text-muted"></small>
									</div>


									<div class="form-group">
										<label for="up">专业: &nbsp;&nbsp; </label>
										<input readonly="readonly"   class="form-control"  th:value="${resume.major}"  />
										<small  class="form-text text-muted"></small>
									</div>


									<div class="form-group">
										<label for="up">工作经验: &nbsp;&nbsp; </label>
										<input  readonly="readonly"  class="form-control"  th:value="${resume.experience}"  />
										<small  class="form-text text-muted"></small>
									</div>


									<div class="form-group">
										<label for="up">薪资要求: &nbsp;&nbsp; </label>
										<input   readonly="readonly" class="form-control"  th:value="${resume.salMonth}"  />
										<small  class="form-text text-muted"></small>
									</div>

									<div  class="form-group">
										<label for="testunit"> 是否在职: &nbsp;&nbsp; </label>

										<select disabled="disabled" class="form-control"  >
											<option th:selected="${'1'==resume.isPost}" th:value="1">是</option>
											<option th:selected="${'0'==resume.isPost}"  th:value="0">否</option>
										</select>
										<small  class="form-text text-muted"></small>
									</div>

									<div  class="form-group">
										<label for="testunit"> 是否应届生: &nbsp;&nbsp; </label>
										<select disabled="disabled" class="form-control"  >
											<option th:selected="${'1'==resume.isGraduates}" th:value="1">是</option>
											<option th:selected="${'0'==resume.isGraduates}"  th:value="0">否</option>
										</select>

										<small  class="form-text text-muted"></small>
									</div>


									<div class="form-group" th:if="${attr=='upd'}">
										<label for="up">登记时间: &nbsp;&nbsp; </label>
										<input  readonly="readonly"  class="form-control"  th:value="${#dates.format(resume.createdDate, 'yyyy-MM-dd')}"   />
										<small  class="form-text text-muted"></small>
									</div>

									<div class="form-group" th:if="${attr=='reg'}">
										<label for="up">登记时间: &nbsp;&nbsp; </label>
										<input   readonly="readonly" class="form-control"  th:value="${#dates.format(new java.util.Date().getTime(), 'yyyy-MM-dd')}"  />
										<small  class="form-text text-muted"></small>
									</div>


									<div class="form-group">
										<label for="testrange"> 个人履历:&nbsp;&nbsp; </label>
										<textarea readonly="readonly" class="form-control" rows="5" cols="105" th:text="${resume.record}"  ></textarea>
										<small  class="form-text text-muted"></small>
									</div>



									<div class="form-group"   th:if="${attr=='reg'}" >
										<label for="up">简历附件: &nbsp;&nbsp; </label>
										<input readonly="readonly" type="file"   class="form-control"  />
										<small  class="form-text text-muted"></small>
									</div>

									<div   th:if="${attr=='upd'}"  >
										<input type="hidden" id="affix" th:value="${resume.affixName}">
										<input type="hidden" id="view" th:value="${view}">
										<div class="form-group" style="display: none" id="uploadfile"  >
											<label for="up">暂无附件&nbsp;&nbsp; </label>
											<!--<input  type="file"   class="form-control" name="affix" />-->
											<small  class="form-text text-muted"></small>
										</div>
										<div id="affixFile"></div>
									</div>


									<div  class="form-group">
										<label for="testunit"> 是否推荐面试: &nbsp;&nbsp; </label>
										<select disabled="disabled" class="form-control"  id="isInterview" >
											<option th:selected="${resume.isInterview==1}" th:value="1">是</option>
											<option  th:selected="${resume.isInterview==0}"  th:value="0">否</option>
										</select>
										<small  class="form-text text-muted"></small>
									</div>



					<div id="tuijian"  >  <!--推荐模块-->
									<div class="form-group">
										<label for="up">推荐人: &nbsp;&nbsp; </label>
										<input th:if="${attr=='reg'}" type="hidden"  th:value="${#session.getAttribute('userSession').id}">
										<input  readonly="readonly"  class="form-control" th:value="${#session.getAttribute('userSession').username}" required="required"  />
										<small  class="form-text text-muted"></small>
									</div>


									<div class="form-group" th:if="${attr == 'reg'}">
										<label for="up">推荐时间: &nbsp;&nbsp; </label>
										<input    class="form-control"  th:value="${#dates.format(new java.util.Date().getTime(), 'yyyy-MM-dd')}"  />
										<small  class="form-text text-muted"></small>
									</div>

									<div class="form-group" th:if="${attr == 'upd'}">
										<label for="up">推荐时间: &nbsp;&nbsp; </label>
										<input  readonly="readonly"  class="form-control"  th:value="${#dates.format(resume.referrerDate,'yyyy-MM-dd')}"  />
										<small  class="form-text text-muted"></small>
									</div>

									<div class="form-group">
										<label for="testrange"  > 推荐面试意见:&nbsp;&nbsp; </label>
										<textarea  readonly="readonly" class="form-control" rows="5" cols="105" th:text="${resume.referrerOpinion}" ></textarea>
										<small  class="form-text text-muted"></small>
									</div>

					</div>


					<div th:if="${view=='ierg'}">

						<p style="color: #28a745"><hr>面试结果登记</p>

						<input th:if="${cz=='ms'}"  name="attr" type="hidden"  value="interview">
						<input th:if="${cz=='ly'}"  name="attr" type="hidden"  value="employ">

						<div class="form-group">
							<label for="up">简历状态: &nbsp;&nbsp; </label>
							<input  readonly="readonly"  class="form-control" th:value="${restatus}" required="required"  />
							<small  class="form-text text-muted"></small>
						</div>


						<div th:if="${resume.status==2 and cz!=null}">
						<div class="form-group">
							<label for="up">一面面试人: &nbsp;&nbsp; </label>
							<input  name="oneSide" type="hidden"  th:value="${#session.getAttribute('userSession').id}">
							<input  name="status" type="hidden"  value="3">
							<input  readonly="readonly"  class="form-control" th:value="${#session.getAttribute('userSession').username}" required="required"  />
							<small  class="form-text text-muted"></small>
						</div>
						<div class="form-group" >
							<label for="up">面试时间: &nbsp;&nbsp; </label>
							<input  readonly="readonly"  class="form-control"  name="oneSideDate" th:value="${#dates.format(new java.util.Date().getTime(), 'yyyy-MM-dd')}"  />
							<small  class="form-text text-muted"></small>
						</div>
						<div class="form-group">
							<label for="testrange"  > 一面面试评价:&nbsp;&nbsp; </label>
							<textarea name="oneSideOpinion"  class="form-control" rows="3" cols="30"  ></textarea>
							<small  class="form-text text-muted"></small>
						</div>
						</div>
						<div th:if="${resume.status > 2}">
							<div class="form-group">
								<label for="up">一面面试人: &nbsp;&nbsp; </label>
								<input  readonly="readonly"  class="form-control" th:value="${oneSide}" required="required"  />
								<small  class="form-text text-muted"></small>
							</div>
							<div class="form-group" >
								<label for="up">面试时间: &nbsp;&nbsp; </label>
								<input  readonly="readonly"   class="form-control"   th:value="${#dates.format(resume.oneSideDate, 'yyyy-MM-dd')}"  />
								<small  class="form-text text-muted"></small>
							</div>
							<div class="form-group">
								<label for="testrange"  > 一面面试评价:&nbsp;&nbsp; </label>
								<textarea name="oneSideOpinion" readonly="readonly" class="form-control" rows="3" cols="30" th:text="${resume.oneSideOpinion}" ></textarea>
								<small  class="form-text text-muted"></small>
							</div>
						</div>


						<div th:if="${resume.status==3 and cz!=null}">
							<div class="form-group">
								<label for="up">二面面试人: &nbsp;&nbsp; </label>
								<input  name="biplanar" type="hidden"  th:value="${#session.getAttribute('userSession').id}">
								<input  name="status" type="hidden"  value="4">
								<input  readonly="readonly"  class="form-control" th:value="${#session.getAttribute('userSession').username}" required="required"  />
								<small  class="form-text text-muted"></small>
							</div>
							<div class="form-group" >
								<label for="up">面试时间: &nbsp;&nbsp; </label>
								<input  readonly="readonly"  class="form-control"  name="biplanarDate" th:value="${#dates.format(new java.util.Date().getTime(), 'yyyy-MM-dd')}"  />
								<small  class="form-text text-muted"></small>
							</div>
							<div class="form-group">
								<label for="testrange"  > 二面面试评价:&nbsp;&nbsp; </label>
								<textarea name="biplanarOpinion"  class="form-control" rows="3" cols="30"  ></textarea>
								<small  class="form-text text-muted"></small>
							</div>
						</div>
						<div th:if="${resume.status > 3}">
							<div class="form-group">
								<label for="up">二面面试人: &nbsp;&nbsp; </label>
								<input  readonly="readonly"  class="form-control" th:value="${biplanar}" required="required"  />
								<small  class="form-text text-muted"></small>
							</div>
							<div class="form-group" >
								<label for="up">面试时间: &nbsp;&nbsp; </label>
								<input  readonly="readonly"   class="form-control"   th:value="${#dates.format(resume.biplanarDate, 'yyyy-MM-dd')}"  />
								<small  class="form-text text-muted"></small>
							</div>
							<div class="form-group">
								<label for="testrange"  > 二面面试评价:&nbsp;&nbsp; </label>
								<textarea name="oneSideOpinion" readonly="readonly" class="form-control" rows="3" cols="30" th:text="${resume.biplanarOpinion}" ></textarea>
								<small  class="form-text text-muted"></small>
							</div>
						</div>


						<div th:if="${resume.status==4 and cz!=null}">
							<div class="form-group">
								<label for="up">三面面试人: &nbsp;&nbsp; </label>
								<input  name="threeSide" type="hidden"  th:value="${#session.getAttribute('userSession').id}">
								<input  name="status" type="hidden"  value="5">
								<input  readonly="readonly"  class="form-control" th:value="${#session.getAttribute('userSession').username}" required="required"  />
								<small  class="form-text text-muted"></small>
							</div>
							<div class="form-group" >
								<label for="up">面试时间: &nbsp;&nbsp; </label>
								<input  readonly="readonly"  class="form-control"  name="threeSideDate" th:value="${#dates.format(new java.util.Date().getTime(), 'yyyy-MM-dd')}"  />
								<small  class="form-text text-muted"></small>
							</div>
							<div class="form-group">
								<label for="testrange"  > 三面面试评价:&nbsp;&nbsp; </label>
								<textarea name="threeSideOpinion"  class="form-control" rows="3" cols="30"  ></textarea>
								<small  class="form-text text-muted"></small>
							</div>
						</div>
						<div th:if="${resume.status > 4}">
							<div class="form-group">
								<label for="up">三面面试人: &nbsp;&nbsp; </label>
								<input  readonly="readonly"  class="form-control" th:value="${threeSide}" required="required"  />
								<small  class="form-text text-muted"></small>
							</div>
							<div class="form-group" >
								<label for="up">面试时间: &nbsp;&nbsp; </label>
								<input  readonly="readonly"   class="form-control"   th:value="${#dates.format(resume.threeSideDate, 'yyyy-MM-dd')}"  />
								<small  class="form-text text-muted"></small>
							</div>
							<div class="form-group">
								<label for="testrange"  > 三面面试评价:&nbsp;&nbsp; </label>
								<textarea name="oneSideOpinion" readonly="readonly" class="form-control" rows="3" cols="30" th:text="${resume.threeSideOpinion}" ></textarea>
								<small  class="form-text text-muted"></small>
							</div>
						</div>


						<div th:if="${resume.status==5 and cz!=null}">
							<div class="form-group">
								<label for="up">录用登记: &nbsp;&nbsp; </label>
								<input  name="hirePeople" type="hidden"  th:value="${#session.getAttribute('userSession').id}">
								<input  name="status" type="hidden"  value="6">
								<input  readonly="readonly"  class="form-control" th:value="${#session.getAttribute('userSession').username}" required="required"  />
								<small  class="form-text text-muted"></small>
							</div>
							<div class="form-group" >
								<label for="up">决议时间: &nbsp;&nbsp; </label>
								<input  readonly="readonly"  class="form-control"  name="hireDate" th:value="${#dates.format(new java.util.Date().getTime(), 'yyyy-MM-dd')}"  />
								<small  class="form-text text-muted"></small>
							</div>
							<div class="form-group">
								<label for="testrange"  > 录用决议:&nbsp;&nbsp; </label>
								<textarea name="hireOpinion"  class="form-control" rows="3" cols="30"  ></textarea>
								<small  class="form-text text-muted"></small>
							</div>
						</div>
						<div th:if="${resume.status > 5}">
							<div class="form-group">
								<label for="up">录用登记人: &nbsp;&nbsp; </label>
								<input  readonly="readonly"  class="form-control" th:value="${hirePeople}" required="required"  />
								<small  class="form-text text-muted"></small>
							</div>
							<div class="form-group" >
								<label for="up">决议时间: &nbsp;&nbsp; </label>
								<input  readonly="readonly"  class="form-control"  name="hireDate" th:value="${#dates.format(resume.hireDate, 'yyyy-MM-dd')}"  />
								<small  class="form-text text-muted"></small>
							</div>
							<div class="form-group">
								<label for="testrange"  > 录用决议:&nbsp;&nbsp; </label>
								<textarea name="hireOpinion"  th:text="${resume.hireOpinion}" class="form-control" rows="3" cols="30"  ></textarea>
								<small  class="form-text text-muted"></small>
							</div>
						</div>



					</div>

									<div th:if="${view=='ierg'}" class="form-group" style="text-align: center;">
										<input type="submit" class="btn btn-success" name="add" id="ausub" value="提交">
										&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
										<input type="button" th:onclick="'javascript:history.go(-1);'" class="btn btn-danger"  value="返回" >
									</div>
									<div th:if="${view=='show'}" class="form-group" style="text-align: center;">
										<input type="button" th:onclick="'javascript:history.go(-1);'" class="btn btn-danger"  value="返回" >
									</div>

								</form>
							</div>
						</div>
					</div>
				</div>

			</div>
		</div>
	</div>
	<footer th:replace="common/comm :: footer "></footer>
</div>
</body>
<script type="text/javascript" th:src="@{/js_hr/resume/addOrUpd.js}"></script>
<script th:inline="javascript">
	/*$("#isInterview").val("[[${resume.isInterview}]]");*/
</script>
</html>